<?
session_start();
include 'functions.php';

$back = 0;

$back = logoutUser();

if ($back == 1){
	$output = json_encode(array("status"=>"success", "message"=>"ok"));
}else{
	$output = json_encode(array("status"=>"error", "message"=>"nok"));
}

echo $output; 

?>